from pyecharts import *
import math, random


def line3():
    line = Line("折线图示例")
    attr = ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
    line.add("商家A", attr, [math.log10(random.randint(1, 99999)) for _ in range(6)])
    line.add(
        "商家B",
        attr,
        [math.log10(random.randint(1, 99999999)) for _ in range(6)],
        yaxis_type="log",
    )
    line.render()

